package com.atguigu.gulimall.seckill.service;

import com.atguigu.gulimall.seckill.to.SecKillSkuRedisTo;

import java.util.List;

/**
 * @description:
 * @author: BlueSky
 * @create: 2021-10-12 10:12
 **/

public interface SeckillService {
	void uploadSeckillSkuLatest3Days();

	List<SecKillSkuRedisTo> getCurrentSeckillSkus();

	SecKillSkuRedisTo getSkuSecKillInfo(Long skuId);

	String kill(String killId, String key, Integer num) throws InterruptedException;
}
